package com.htthorizon.common.core.enums;

/**
 * 操作类型
 * 
 * @author mark
 */
public enum OperateType
{
    ADD("A", "添加"), DELETE("D", "删除"), MODIFY("M", "修改"), SELECT("S", "查询");

    private final String code;
    private final String info;

    OperateType(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
